package com.yipao.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yipao.db.domain.YipaoFeedback;
import com.yipao.db.domain.YipaoFeedbackExample;

public interface FeedbackMapper {

    long countByExample(YipaoFeedbackExample example);


    int deleteByExample(YipaoFeedbackExample example);


    int deleteByPrimaryKey(Integer id);


    int insert(YipaoFeedback record);


    int insertSelective(YipaoFeedback record);


    YipaoFeedback selectOneByExample(YipaoFeedbackExample example);


    YipaoFeedback selectOneByExampleSelective(@Param("example") YipaoFeedbackExample example, @Param("selective") YipaoFeedback.Column ... selective);


    List<YipaoFeedback> selectByExampleSelective(@Param("example") YipaoFeedbackExample example, @Param("selective") YipaoFeedback.Column ... selective);


    List<YipaoFeedback> selectByExample(YipaoFeedbackExample example);


    YipaoFeedback selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") YipaoFeedback.Column ... selective);


    YipaoFeedback selectByPrimaryKey(Integer id);


    YipaoFeedback selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);


    int updateByExampleSelective(@Param("record") YipaoFeedback record, @Param("example") YipaoFeedbackExample example);


    int updateByExample(@Param("record") YipaoFeedback record, @Param("example") YipaoFeedbackExample example);


    int updateByPrimaryKeySelective(YipaoFeedback record);


    int updateByPrimaryKey(YipaoFeedback record);


    int logicalDeleteByExample(@Param("example") YipaoFeedbackExample example);


    int logicalDeleteByPrimaryKey(Integer id);
}
